package com.bygf.curve;

import java.awt.Color;

/**
 * 渐变参数
 *
 * @author sunyupei
 */
public class GradientPara {

    //数值
    private double value;
    //颜色
    private Color color;

    /**
     * 构造方法
     *
     * @param value 数值
     * @param color 颜色
     */
    public GradientPara(double value, Color color) {
        this.value = value;
        this.color = color;
    }

    /**
     * @return the value
     */
    public double getValue() {
        return value;
    }

    /**
     * @param value the value to set
     */
    public void setValue(double value) {
        this.value = value;
    }

    /**
     * @return the color
     */
    public Color getColor() {
        return color;
    }

    /**
     * @param color the color to set
     */
    public void setColor(Color color) {
        this.color = color;
    }
}
